﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类PUSH_LSH_COUNT
     ///</summary>
     public class PUSH_LSH_COUNT
     {
         private int __ID=0 ;
         private string __TEST_DATE=string.Empty ;
         private string __LOGIN_PC_NO=string.Empty ;
         private string __LSH_COUNT=string.Empty ;
         private string __UPDATE_TIME=string.Empty ;
         private int? __COUNT_TYPE=null ;
         private string __TEST_TYPE=string.Empty ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public PUSH_LSH_COUNT()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("TEST_DATE",false);
             this.__Changed.Add("LOGIN_PC_NO",false);
             this.__Changed.Add("LSH_COUNT",false);
             this.__Changed.Add("UPDATE_TIME",false);
             this.__Changed.Add("COUNT_TYPE",false);
             this.__Changed.Add("TEST_TYPE",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__TEST_DATE =string.Empty;
             this.__LOGIN_PC_NO =string.Empty;
             this.__LSH_COUNT =string.Empty;
             this.__UPDATE_TIME =string.Empty;
             this.__COUNT_TYPE =null;
             this.__TEST_TYPE =string.Empty;
             this.__Changed["ID"] = false;
             this.__Changed["TEST_DATE"] = false;
             this.__Changed["LOGIN_PC_NO"] = false;
             this.__Changed["LSH_COUNT"] = false;
             this.__Changed["UPDATE_TIME"] = false;
             this.__Changed["COUNT_TYPE"] = false;
             this.__Changed["TEST_TYPE"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[TEST_DATE]的数据
         /// </summary>
         public string TEST_DATE
         {
              set{ __TEST_DATE = value.Replace("'","’"); __Changed["TEST_DATE"] = true;}
              get{return __TEST_DATE;}
         }
         /// <summary>
         ///设置或获取类中的[LOGIN_PC_NO]的数据
         /// </summary>
         public string LOGIN_PC_NO
         {
              set{ __LOGIN_PC_NO = value.Replace("'","’"); __Changed["LOGIN_PC_NO"] = true;}
              get{return __LOGIN_PC_NO;}
         }
         /// <summary>
         ///设置或获取类中的[LSH_COUNT]的数据
         /// </summary>
         public string LSH_COUNT
         {
              set{ __LSH_COUNT = value.Replace("'","’"); __Changed["LSH_COUNT"] = true;}
              get{return __LSH_COUNT;}
         }
         /// <summary>
         ///设置或获取类中的[UPDATE_TIME]的数据
         /// </summary>
         public string UPDATE_TIME
         {
              set{ __UPDATE_TIME = value.Replace("'","’"); __Changed["UPDATE_TIME"] = true;}
              get{return __UPDATE_TIME;}
         }
         /// <summary>
         ///设置或获取类中的[COUNT_TYPE]的数据
         /// </summary>
         public int? COUNT_TYPE
         {
              set{ __COUNT_TYPE = value; __Changed["COUNT_TYPE"] = true;}
              get{return __COUNT_TYPE;}
         }
         /// <summary>
         ///设置或获取类中的[TEST_TYPE]的数据
         /// </summary>
         public string TEST_TYPE
         {
              set{ __TEST_TYPE = value.Replace("'","’"); __Changed["TEST_TYPE"] = true;}
              get{return __TEST_TYPE;}
         }
    }
}
